package com.sdk.ks;

public enum KsActionType {
   start("start"),
   stop("stop"),
   status("status"),
   top("top");

   private final String value;

   public static KsActionType fromValue(String value) {
      for(KsActionType type : values()) {
         if (type.getValue().equals(value)) {
            return type;
         }
      }

      throw new IllegalArgumentException("未知的消息类型: " + value);
   }

   
   public String getValue() {
      return this.value;
   }

   
   KsActionType(final String value) {
      this.value = value;
   }

   // $FF: synthetic method
   private static KsActionType[] $values() {
      return new KsActionType[]{start, stop, status, top};
   }
}
